package yl.hs.bmipfull.daos.equipment;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yl.hs.bmipfull.daos.BaseDao;
import yl.hs.bmipfull.pojo.equipment.DeviceRepairEntity;

import java.util.List;
import java.util.Map;

/*
 * IDeviceRepairDao
 * @category
 * @author 谢景广
 * @date 2022-11-15
 */
@Repository
public interface IDeviceRepairDao extends BaseDao<DeviceRepairEntity> {
    int queryCountByCondition(@Param("map")Map<String, Object> query, List<Map<String, Object>> filters);

    List<DeviceRepairEntity> queryListByCondition(@Param("map")Map<String, Object> query, List<Map<String, Object>> filters);

    Integer changeState(String[] snArray, int state);

    List<DeviceRepairEntity> queryListBySNArray(String[] snArray);
}
